package com.wxm.killing.mq.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import javax.persistence.*;

/**
 * 
 * 
 * @author wxm
 * @email xiaomin.wu1@pactera.com
 * @version 2019-11-05 14:58:56
 */
@Data
@Table(name = "tb_sys_user")
public class TbSysUser implements Serializable {
    private static final long serialVersionUID=1L;
   /**
    * 用户编号
    */
	@Id
	private Integer userId;
   /**
    * 
    */
	@Column(name = "role_id")
	private Integer roleId;
   /**
    * 用户名
    */
	@Column(name = "user_name")
	private String userName;
   /**
    * 密码
    */
	@Column(name = "password")
	private String password;
   /**
    * 
    */
	@Column(name = "repass")
	private String repass;
   /**
    * 
    */
	@Column(name = "salt")
	private String salt;
   /**
    * 是否锁定
    */
	@Column(name = "is_lock")
	private Integer isLock;
   /**
    * 创建时间
    */
	@Column(name = "create_time")
	private Date createTime;
   /**
    * 
    */
	@Column(name = "update_time")
	private Date updateTime;
   /**
    * 最后登录时间
    */
	@Column(name = "last_login_time")
	private Date lastLoginTime;
   /**
    * 
    */
	@Column(name = "token")
	private String token;
}
